package entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.Map;

/**
 * @ClassName MusicMessage
 * @Author 浮生光
 * @Date 2022/1/16 23:42
 * @Description MusicMessage
 * @Version 1.0
 */
@XStreamAlias("xml")
public class MusicMessage extends BaseMessage{

  private Music music;

    public MusicMessage(Map<String, String> requestMap, Music music) {
        super(requestMap);
        this.music = music;
        this.setMsgType("music");

    }

    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }
}
